/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

/**
 *
 * @author William
 */
public class InitialData {

    /**
     * Guarda los coeficientes de las funciones objetivo.
     */
    private double objectiveData[][];
    /**
     * Guarda los coeficientes de las restricciones.
     */
    private double restrictionData[][];
    /**
     * Guarda los valores del lado der, de las restricciones.
     */
    private double ldData[];
    /**
     * Indica si los datos han sido guardados.
     */
    private boolean saved;
    /**
     * Número de Objetivos.
     */
    private int numberObjetives;
    /**
     * Número de restricciones.
     */
    private int numberRestrictions;
    /**
     * Número de Variables.
     */
    private int numberVariables;

    public InitialData() {
        saved = false;
    }

    public InitialData(double[][] objectiveData, double[][] restrictionData, double[] ldData, boolean saved, int numberObjetives, int numberRestrictions, int numberVariables) {
        this.objectiveData = objectiveData;
        this.restrictionData = restrictionData;
        this.ldData = ldData;
        this.saved = saved;
        this.numberObjetives = numberObjetives;
        this.numberRestrictions = numberRestrictions;
        this.numberVariables = numberVariables;
    }

    public int getNumberObjetives() {
        return numberObjetives;
    }

    public void setNumberObjetives(int numberObjetives) {
        this.numberObjetives = numberObjetives;
    }

    public int getNumberRestrictions() {
        return numberRestrictions;
    }

    public void setNumberRestrictions(int numberRestrictions) {
        this.numberRestrictions = numberRestrictions;
    }

    public int getNumberVariables() {
        return numberVariables;
    }

    public void setNumberVariables(int numberVariables) {
        this.numberVariables = numberVariables;
    }

    public double[][] getObjectiveData() {
        return objectiveData;
    }

    public void setObjectiveData(double[][] objectiveData) {
        this.objectiveData = objectiveData;
    }

    public double[][] getRestrictionData() {
        return restrictionData;
    }

    public void setRestrictionData(double[][] restrictionData) {
        this.restrictionData = restrictionData;
    }

    public double[] getLdData() {
        return ldData;
    }

    public void setLdData(double[] ldData) {
        this.ldData = ldData;
    }

    public boolean isSaved() {
        return saved;
    }

    public void setSaved(boolean saved) {
        this.saved = saved;
    }
}
